package com.craigcmiller.cmtetris.core;


/**
 * Specific block type
 * @author craig
 */
public class OBlock extends Block
{
	/**
	 * Construct the block
	 * @param b
	 */
	public OBlock(Board b)
	{
		super(b);
	}
	
	
	/**
	 * Create the initial version of the block
	 */
	@Override
	protected void build()
	{
		cells.add(new BlockCell(board.getWidth()/2-1, 0));
		cells.add(new BlockCell(board.getWidth()/2-1, 1));
		cells.add(new BlockCell(board.getWidth()/2, 0));
		cells.add(new BlockCell(board.getWidth()/2, 1));
	}
	
	
	/**
	 * Rotate the block
	 */
	@Override
	public void rotate()
	{
	}
}
